<?php 

namespace Common\Model;
use Common\Model\CommonModel;

/**
 * 
 */
class AuthRuleModel extends CommonModel
{
	
	/**
	 * 获取顶级模块
	 */
	public function getParentRule()
	{
		return $data = M("AuthRule")->where(["pid" => 0])->select();
	}
}